<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;


/**
 * Class User
 * @package App\Models
 *
 * @property integer $id
 * @property integer $user_id
 * @property  $user_name
 */
class Question extends Model
{
    use Notifiable;
    const QUESTION_DEFAULT = 0;  //未审核
    const QUESTION_PASS_SMALL = 1;  //审核小屏幕
    const QUESTION_PASS_BIG = 2;  //审核大屏幕
    const QUESTION_REFUSE = 3;  //审核拒绝


    //问题表
    public $timestamps = true;
    protected $table = 'ty_question';
    protected $primaryKey = 'question_id';
    protected $fillable = ['question_id','name', 'status','num', 'created_at', 'member_id', 'updated_at'];
    protected $dates = ['created_at', 'updated_at'];
    // Rest omitted for brevity

}
